package restful;

import org.apache.struts.action.ActionForward;

import com.framework.web.ActionContext;
import com.framework.web.BaseAction;

public class TestAction extends BaseAction {
	
	private IRESTWSFacade RESTWSFacade;
	private IDummyFacade dummyFacade;
	
	public ActionForward doTest(ActionContext ac) {
		System.out.println("doTest");
		RESTWSFacade.test();
		dummyFacade.test();
		return forward(ac, "success");
	}

	public IRESTWSFacade getRESTWSFacade() {
		return RESTWSFacade;
	}

	public void setRESTWSFacade(IRESTWSFacade rESTWSFacade) {
		RESTWSFacade = rESTWSFacade;
	}

	public IDummyFacade getDummyFacade() {
		return dummyFacade;
	}

	public void setDummyFacade(IDummyFacade dummyFacade) {
		this.dummyFacade = dummyFacade;
	}
	
}
